# encoding=utf-8

import numpy as np
# 创建array
array = np.array([[1, 2, 3], [4, 5, 6]])
print(array)

print("number of ndim ", array.ndim)  # 维度

print("number of shape ", array.shape)  # 行数和列数

print("number of size ", array.size)  # 元素个数
